home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programmer Power Tools
/
Programmer Power Tools.iso
/
microcrn
/
issue_45.arc
/
TECHTP45.ARC
/
TECHTIPS.1
next >
Wrap
Text File
|
1988-03-23
|
573b
|
17 lines
; TECHTIPS Figure 1 Micro Cornucopia Magazine Issue #45
; I/O Device Control
mov ax, 3C00H
mov dx, offset _device ; get pointer to device name
mov cx, 0
int 21H ; open output device
jc ERROR ; if error, exit
mov bx, ax ; get device handle in BX
mov ax, 4400H
int 21H ; get device status in DX
or dx, 0A0H ; set raw bit in status word
mov ax, 4401H
int 21H ; put device in raw mode
ret